﻿using System;
using Windows.UI.Xaml.Controls;

namespace MicroMVVM.Interfaces
{
    public interface IViewAware
    {
        /// <summary>
        /// Gets/Sets the current view.
        /// </summary>
        Control Current { get; set; }

        /// <summary>
        /// Gets the current view action.
        /// </summary>
        Action<Control> RaiseControl { get; set; }
    }
}